//
//  MeasureModel.h
//  ChartsDemo
//
//  Created by apple on 2021/4/5.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class MeasureModel,HistoryModel;
@interface HistoryModel : NSObject

@property(nonatomic,strong) NSString *date;  //检测日期
@property(nonatomic,assign) NSInteger longTime; //检测时长
@property(nonatomic,assign) NSInteger spo2Max;  //最大血氧
@property(nonatomic,assign) NSInteger spo2Min;  //最小血氧
@property(nonatomic,assign) NSInteger spo2Aver;  //平均血氧

@property(nonatomic,assign) NSInteger prMax;  //最大心率
@property(nonatomic,assign) NSInteger prMin;  //最小心率
@property(nonatomic,assign) NSInteger prAver; //平均心率

@property(nonatomic,assign) long altitude; //海拔高度

@property(nonatomic,strong) NSMutableArray<MeasureModel *> *dataList;

// 脉搏波
@property(nonatomic,strong) NSMutableArray<NSNumber *> *wareformList;

// 查看状态 0:未知 1:未查看 2:已查看
@property (assign, nonatomic)  NSInteger  lookState;

@end

@interface MeasureModel : NSObject
// 血氧
@property(nonatomic,assign) long spo2;
//心率
@property(nonatomic,assign) long pr;
// 血流灌注指数
@property(nonatomic,assign) float pi;

@end

NS_ASSUME_NONNULL_END
